SERVER=xenon.cs.luc.edu:~/public_html/cs271/lectures

all: images slides article

article:
	latex bigoh.article.tex
	latex bigoh.article.tex
	dvips bigoh.article.dvi
	ps2pdf bigoh.article.ps

slides:
	latex bigoh.beamer.tex
	latex bigoh.beamer.tex
	dvips bigoh.beamer.dvi
	ps2pdf bigoh.beamer.ps

images:
	gnuplot common_big.plot
	gnuplot common_all.plot
	gnuplot common_small.plot
	gnuplot big_constants.plot

publish: all
	scp bigoh.beamer.pdf ${SERVER}/lec3-bigoh.beamer.pdf
	scp bigoh.article.pdf ${SERVER}/lec3-bigoh.article.pdf

clean:
	-rm *.aux *.log *.nav *.out *.pdf *.snm *.toc *.vrb *.ps *.dvi
	-rm *~